package cn.qiyu5522.tk_ems.entity.dto;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @ProjectName: tk_ems
 * @Package: cn.qiyu5522.tk_ems.entity.dto
 * @ClassName: DepartmentAndMajorMenuDTO
 * @Author: [Toneky]
 * @Date: 2023/2/5 17:01
 * @Version: V1.0
 **/
@ApiModel("院系专业树结构")
@Data
public class DepartmentAndMajorMenuDTO {

    @ApiModelProperty("编号")
    private Long id;
    @ApiModelProperty("上级编号")
    private Long pid;
    @ApiModelProperty("名称")
    private String name;
    @ApiModelProperty("子节点")
    private List<DepartmentAndMajorMenuDTO> children;
}
